package com.example.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by pengwan on 2017/7/29.
 */
@Entity
@Table(name = "person")
public class Person extends EntityId {
    @Column(name = "full_name")
    private String fullName;
    @Column(name = "active")
    private boolean active;

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }
}

